#!usr/bin/env python  
# -*- coding:utf-8 _*-
""" 
@author:robot
@file: v2_02task_redis.py 
@version:
@time: 2022/09/01 
"""
from TapDevops.build_jenkins.v2.v2_base import v2


class V2RedisTaskSetting:
    title = 'redis'
    task = 'test_redis'
    title_copy_list = '数据复制-redis-list'
    title_dev_list = '数据开发-redis-list'
    title_dev_json = '数据开发-redis-json'
    copy_list = 'test_copy/test_list'
    dev_list = 'test_dev/test_list'
    dev_json = 'test_dev/test_json'
    i = 'test_01initial.py'
    c = 'test_02cdc.py'
    ic = 'test_03initial_cdc.py'
    ti = '-全量'
    tc = '-增量'
    tic = '-全量+增量'

    # 数据复制-list
    path_copy_list = f'{v2}/{task}/{copy_list}'
    # 数据复制-全量
    title_copy_list_i = f'{title_copy_list}{ti}'
    path_copy_list_i = f'{v2}/{task}/{copy_list}/{i}'

    # 数据复制-增量
    title_copy_list_c = f'{title_copy_list}{tc}'
    path_copy_list_c = f'{v2}/{task}/{copy_list}/{c}'

    # 数据复制-全量+增量
    title_copy_list_ic = f'{title_copy_list}{tic}'
    path_copy_list_ic = f'{v2}/{task}/{copy_list}/{ic}'

    # 数据开发-json
    path_dev_json = f'{v2}/{task}/{dev_json}'
    # 数据开发-全量
    title_dev_json_i = f'{title_dev_json}{ti}'
    path_dev_json_i = f'{v2}/{task}/{dev_json}/{i}'

    # 数据开发-增量
    title_dev_json_c = f'{title_dev_json}{tc}'
    path_dev_json_c = f'{v2}/{task}/{dev_json}/{c}'

    # 数据开发-全量+增量
    title_dev_json_ic = f'{title_dev_json}{tic}'
    path_dev_json_ic = f'{v2}/{task}/{dev_json}/{ic}'


    # 数据开发-list
    path_dev_list = f'{v2}/{task}/{dev_list}'
    # 数据开发-全量
    title_dev_list_i = f'{title_dev_list}{ti}'
    path_dev_list_i = f'{v2}/{task}/{dev_list}/{i}'

    # 数据开发-增量
    title_dev_list_c = f'{title_dev_list}{tc}'
    path_dev_list_c = f'{v2}/{task}/{dev_list}/{c}'

    # 数据开发-全量+增量
    title_dev_list_ic = f'{title_dev_list}{tic}'
    path_dev_list_ic = f'{v2}/{task}/{dev_list}/{ic}'
